package com.tomorrow.runner.util;

import android.hardware.SensorManager;

/**
 * Created by tomorrow on 16-5-6.
 */
public class CaloriesUtil {
    public static double getRunCalories(double distance, double weight){
        return distance * weight * Define.FACTOR_RUN;
    }
    public static double getPushUpCalories(int count, double weight){
        return SensorManager.STANDARD_GRAVITY * count * weight *Define.FACTOR_PUSHUP;
    }
}
